﻿@model IEnumerable<WriterStars.Models.ViewModels.BookViewModel>

@foreach (var item in Model)
{
    <book>
        <header>
            @item.Title - @item.Date.ToString("dd MMM yyyy")
        </header>
        <p>
            @item.SliceContent(50)
        </p>
    </book>
}